﻿using Harmontronics.Model.Dto.Model;
using Harmontronics.Model.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Harmontronics.IService.Business
{
    public interface IPlcSettingService
    {
        //全查
        public List<PlcSettingModel> GetAllPlcSettings();
        //根据IP查
        public List<PlcSettingModel> GetPlcSettingByIp(string ip);
        //根据ID查
        public PlcSettingModel GetPlcSettingById(string id);
        public bool AddPlcSetting(PlcSettingModel plcSetting);
        public bool UpdatePlcSetting(PlcSettingModel plcsetting);
        public bool DeletePlcSetting(String id);
        public bool BatchDelPlc(List<string> ids);  
    }
}
